NewsParserPlugin\Controller\PostController S

Total Complexity 46
Dependencies 8
Dependents 3
Total lines 309
Lines of code 201
Logical lines of code 107
Comment lines 49
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
validateParsedData()
A
59 9 13
formatPostOptions()
S
56 5 19
formatPostMeta()
S
58 5 16
getPostsData()
S
58 4 16
formatPostData()
S
61 4 13
getPostsInProgress()
S
52 3 24
update()
S
53 3 22
parsePost()
S
57 2 16
createPostFromParsedData()
S
59 2 13
createPostDraft()
S
60 2 13
autopilotParsePost()
S
60 2 12
__construct()
S
71 1 6
applyBodyAdapter()
S
69 1 6
getPostTemplateOptions()
S
75 1 4
processPostParsedData()
S
72 1 5
currentUserID()
S
79 1 3